public void save( Stream stream, PDFVisualImageSaveFormat imageSaveFormat ) |
Parameters
- stream
- Destination stream where the image will be saved.
- imageSaveFormat
- Format used for saving the image.
public void save( Stream stream, PDFVisualImageSaveFormat imageSaveFormat ) |
| Exception | Description |
|---|---|
| java.lang.IllegalStateException | When the method is called on an image that has been extracted without its data, PDFContentExtractor.extractImages method has been called using 'false' as its parameter. |